﻿@model Aidbrella.Web.ViewModels.UserViewModel

@{
    ViewBag.Title = "Login to -aidbrella";
}

@using (Html.BeginForm())
{

  <fieldset>
        <legend> Login to aidbrella </legend>

        <div class="editor-label">
            @Html.Label("User Name")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UserName)
            @Html.ValidationMessageFor(model => model.UserName)
        </div>

        <div class="editor-label">
            @Html.Label("Password")
        </div>
        <div class="editor-field">
            @Html.PasswordFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div>

        <p>
            <input type="submit" value="Login" />
        </p>
    </fieldset>
	<p>Don't have an account? <a href="@Url.Action(MVC.Account.Actions.Register())">Register</a> now to participate.</p>
	
}